package com.graduation.rescuematerial.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author CaiShuangLian
 * @since 2022-04-22
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Material implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 物资id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 物资名称
     */
    private String name;

    /**
     * 仓库名称
     */
    private String warehouseName;

    /**
     * 生产商
     */
    private String producer;

    /**
     * 库存
     */
    private Integer stock;

    /**
     * 破损数量
     */
    private Integer damageNumber;

    /**
     * 生产日期
     */
    private Date manufactureDate;

    /**
     * 保质期（以天为单位）
     */
    private Integer expirationDate;

    /**
     * 采购部门
     */
    private String purchaseDepartment;

    /**
     * 种类
     */
    private Integer catalogId;

    /**
     * 描述
     */
    private String description;

    private String image;


}
